package com.esun.cheetah.biz.personal.attention;

import java.util.HashMap;

import org.json.JSONException;

import android.os.Handler;

import com.esun.cheetah.biz.personal.personalinfo.UserInfo;
import com.esun.cheetah.config.BizCode;
import com.esun.cheetah.config.Key;
import com.esun.cheetah.network.AbsInferiorityCommunicater;

/**
 * 注销通讯 com.esun.cheetah.view.personal.LoginOutComm
 * 
 * @author create at 2012-4-17 下午7:42:31
 */
public class LoginOutComm extends AbsInferiorityCommunicater {

	public LoginOutComm(Handler handler) {
		super(handler);
	}

	@Override
	public HashMap<String, String> comHashMap() {
		HashMap<String, String> hashLoginout = new HashMap<String, String>();
		hashLoginout.put(Key.KEY_ID, BizCode.LOGIN_OUT);
		hashLoginout
				.put(Key.KEY_USERNAME, UserInfo.getUserInfo().getUserName());
		hashLoginout.put(Key.KEY_CK, UserInfo.getUserInfo().getCk());
		return hashLoginout;
	}

	@Override
	public void getJsonContent(String serverRes) throws JSONException {

	}

}